import { useHowl } from './useHowl';

export function useAutoPlay(aud: string | undefined, autoPlay: boolean = true) {
  return useHowl(aud, { autoPlay });
}